/** 头部标题信息(包含导航栏) */
.header{
  background: #f2f2f2;
  .header-top{
    color: #fff;
    height: 46px;
    line-height: 46px;
    margin-bottom: 23px;
    padding-right: 20px;
    padding-left: 15px;
    background: #266cad;
    box-shadow: 7px 4px 7px 0 rgba(15, 14, 14, 0.4);
    /** 标题 */
    .left-info{
      float: left;
      margin-left: 10px;
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 6px;
    }
    /** 右侧按钮导航栏 */
    .right-info{
      float: right;
      height: 46px;
      .vertical-middel-block{
        display: inline-block;
        height: 46px;
        width: 0;
        vertical-align: middle;
      }
      .right-info-container{
        vertical-align: middle;
        display: inline-block;
        /** icon */
        .icon-list{
          .icon-item{
            float: right;
            font-size: 0;
            margin: 0 10px;
            line-height: 46px;
            cursor: pointer;
            .msg-count{
             position: absolute;
             font-size: 12px;
             background: #FF0000;
             padding: 2px 2px;
             text-align: center;
             line-height: 15px;
             border-radius: 8px;
             margin-left: 9px;
             margin-top: -23px;
             box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
            }
            img{
              vertical-align: middle;
              width: 16px;
              height: 18px;
            }
            .icon-mobile{
              width: 16px;
              height: 18px;
              font-size: 22px;
              vertical-align: middle;
            }
            /* 标段 */
            &.bid-id{
              position: relative;
              width: 88px;
              margin: 10px;
              background: #fff;
              border-radius: 32px;
              font-size: 12px;
              z-index: 100;
              &.active{
                .submenu{
                  display: block;
                }
              }
              span{
                display: block;
                height: 26px;
                line-height: 26px;
                color: #3A82AF;
                text-align: center;
              }
              .submenu{
                display: none;
                background-color: #eee;
                &.visited{
                  display:block;
                }
                &>li{
                  color: #000;
                  line-height: 35px;
                  text-align: center;
                  &:hover{
                    background-color: #ccc;
                  }                 
                }               
              }
            }
          }
          .icon-fa{
            height: 32px;
            line-height: 32px;
            i{
              font-size: 17px;
            }
          }
        }
        /** 天气信息 */
        .weather-info{
          font-size: 12px;
        }
      }
    }
    /* 切换标段 */
    /*.change-bid{
      position: absolute;
      top: 64px;
      right: 26px;
      font-size: 18px;
      z-index: 102;
      span{       
        color: #FF6617;
      }
      .icon-del{
        color: #0079FF;
      }
      .fa-shoushi{
        position: absolute;
        right: 123px;
        top: -23px;
        width: 61px;
        height: 72px;
        background:url("../../../assets/images/u252.png") no-repeat;
      }
    }*/
  }

  /** 一级菜单导航栏 */
  .header-menu-bar{
    margin-bottom: 10px;
    background-color: #fff;
    padding-left: 15px;
    .nav-list{
      height: 67px;
      border-bottom: 3px solid #3f9ad8;
      &>li{
        float: left;
        display: block;
        position: relative;
        padding: 0;
        border-style: solid;
        border-width: 1px 0px 0 1px;
        border-color: #e5e5e5;
        box-shadow: 2px 3px 3px 0 rgba(15, 14, 14, 0.4);
        cursor: pointer;
        &:first-child{
          border-left-width: 1px;
          margin-left: -1px;
        }
        &:before{
          left: -1px;
          right: -1px;
          bottom: auto;
          top: -2px;
          max-width: none;
          width: auto;
          height: 2px;
          border-width: 0;
        }
        &:hover{
          border-top-color: #266cad;
          border-left-color: #79b0ce;
          border-right-color: #79b0ce;
          border-top-width: 4px;
          a{
            background-color: #266cad;
            color: #fff;;
          }
        };
        &.hover{          
          .arrow,.submenu{
            display: block!important;
          }                  
        };
        /* 点击的状态 */
        &.active{
          display: block;
          border-top-color: #79b0ce;
          border-left-color: #79b0ce;
          border-right-color: #79b0ce;
          a{
            font-weight: 700;
            color: #2b7dbc;
          }
        }
        &>a{
          display: block;
          position: relative;
          width: 106px;
          font-size: 16px;
          line-height: 22px;
          height: auto;
          padding: 6px 0px;
          text-shadow: none!important;
        }
        .menu-icon{
          display: block;
          margin: 6px 0 0px;
          line-height: inherit;
          width: auto;
          min-width: 30px;
          vertical-align: sub;
          text-align: center;
          font-size: 28px;
          font-weight: 400;
        }
        .arrow{
          display: none;
          position: absolute;
          right: auto;
          top: 42px;
          left: 24px;
          bottom: 7px;
          z-index: 1027;
          &:before,&:after{
            border: 1px solid transparent;
            display: block;
            height: 0;
            width: 0;
            position: absolute;
            left: -20px;
            top: -1px;
            right: auto;
            bottom: auto;
            content: "";
            border-width: 10px;
            border-color: transparent;
            border-left-color: transparent!important;
            border-right-color: transparent!important;
          }
          &:before{
            border-bottom-color: #191717;
          }
          &:after{            
            border-bottom-color: #FFF; 
          }
        }
        .submenu{
          position: absolute;
          top: 96%;
          left: 1px;                           
          margin-top: auto;
          margin-left: -2px;
          width: 124px;
          background-color: #fff;
          border: 1px solid #ccc;
          box-shadow: 2px 1px 2px 0 rgba(0,0,0,.1);
          z-index: 1026;
          display: none;
          &>li{
            position: relative;
            height: 30px;
            line-height: 30px;
            cursor: pointer;
            &.hover{
              &>a{
                display: block;
                position: relative;
                margin-top: 2px;
                margin-bottom: 2px;
                padding-left: 31px;
                border-top-width: 1px;
                border-top-style: dotted;               
                border-top-width: 0;
                text-align: left;
                .menu-icon{
                  display: inline-block;
                  margin: 0;
                  left: 0;
                  top: 0;
                  color: #fff;
                }
              }
            }
            &:hover{
              &>a{
                background-color: #eef3f7;
                border-top-color: #e4e4e4;
                color: #2e7db4;
                .menu-icon{
                  color: #2e7db4;
                }
              }
            }
            &>a{
              border-top-color: #e4e4e4;
              background-color: #fff;
              color: #616161;
              .menu-icon{
                display: none;
                position: absolute;
                left: 10px;
                top: auto;
                font-size: 12px;
                font-weight: 400;
                width: 18px;
                height: auto;
                line-height: 29px;
                text-align: center;               
                z-index: 1;
                background-color: inherit;
              }
            }
          }
        }
      }
    }

    .menu-item{
      float: left;
      margin-right: 5px;
      border-top-left-radius: 4px;
      border-top-right-radius: 4px;
      color: #266cad;
      padding: 7px 0;
      text-align: center;
      background-color: #fff;
      .menu-txt{
        font-size: 14px;
      }
      i{
        font-size: 30px;
      }
      .menu-item-txt{
        width: 146px;
        font-size: 16px;
        /*line-height: 1;*/
      }
    }
    /** 一级菜单hover样式 */
    .visited{
      background: #266cad !important;
      color: #fff;
    }
    /** 一级菜单激活状态 */
    .menu-item-active{
      background: #fff;
      color: #3693cf;
      transform-origin: bottom;
      transform: scale(1,1.2);
      *{
        transform: scale(1.2,1);
      }
    }
  }

  /** 二级菜单 */
  .header-sub-menu-bar{
    position: absolute;
    width: 100%;
    padding: 28px 15px 18px 25px;
    background: #f2f2f2;
    box-shadow: 0 2px 5px -3px #787878;
    z-index: 1;
    .sub-menu-item{
      float: left;
      width: 119px;
      line-height: 32px;
      text-align: center;
      margin-right: 8px;
      background: #d4d4d4;
      font-size: 12px;
      color: #666;
      i{
        font-size: 18px;
        color: #acafb1;
        position: relative;
        top: 1px;
        margin-right: 1px
      }
      &:hover{
        color: #fff;
       /* background-image: -webkit-gradient(linear,left top,right bottom,from(#3b96d0),to(#98c6e4));*/
        background-color: #3b96d0;
        background: linear-gradient( to right, #3b96d0, #98c6e4 );
        i{
          color: #fff;
        }
      }
    }
  }

  /** 当前位置 */
  .current-location{
    height: 36px;
    line-height: 36px;
    overflow: hidden;
    .location-container{
      height: 40px;
      line-height: 40px;
      padding-right: 20px;
      margin-right: 5px;
    }
    i{
      color: #fe6f4d;
      font-size: 16px;
      vertical-align: middle;
    }
    span{
      color: #666;
      font-size: 12px;
    }
  }

}
